export default (Vue) => {
  Vue.filter('adTypeCase', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 1:
        return 'CMS文章'
        break
      case 2:
        return '第三方网址'
        break
      case 3:
        return '金贝塔'
        break
      case 4:
        return '用户'
        break
      case 7:
        return '话题'
        break
      case 8:
        return '动态'
        break
      case 9:
        return '股市直播'
        break
      case 10:
        return '迷你组合'
        break
      case 11:
        return '存股宝'
        break
      case 12:
        return '文章栏目'
        break
      case 13:
        return '港股入金'
        break
      case 14:
        return '交易Tab'
        break
      case 15:
        return '投顾tab'
        break
      case 16:
        return '投顾排行榜'
        break
      case 17:
        return '投顾个人名片界面'
        break
      case 18:
        return '发表观点'
        break
      case 19:
        return '交流吧'
        break
      default:
        return type
    }
  /*eslint-enable*/
  })
}
